 {% for item in regions %}
          
						<tr data-tt-id="{{item.id}}" data-tt-parent-id="{{'0' if item.pid==0 else item.pid}}" data-tt-branch="{{'true' if item.type < 3 else 'false'}}">
          
         
            <td>
             {{item.name}}
            </td>
           <td>{{config.setup.regionType[item.type]}}</td>
           
            <td>
              <div class="btn-group">
                <button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown">
                  <i class="ti-settings"></i>
                  <span class="ti-angle-down"></span>
                </button>
                <ul class="dropdown-menu" role="menu">
                 
                  <li><a href="/store/region/edit?id={{item.id}}" data-pjax>修改</a></li>
                  <li><a href="javascript:;" onclick="del({{item.id}})">删除</a></li>
                  <li class="divider"></li>
                  <li><a href="/store/region/add?pid={{item.id}}" data-pjax>添加子地区</a></li>
                  
                </ul>
              </div>
            </td>
          </tr>
          {% endfor %}